Optimal. Leaf size=65 \[ -\frac {\cos (e+f x) F_1\left (\frac {1}{2};-n,2;\frac {3}{2};1-\sin (e+f x),\frac {1}{2} (1-\sin (e+f x))\right )}{2 a f \sqrt {a \sin (e+f x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {2787, 2785, 130, 429} \[ -\frac {\cos (e+f x) F_1\left (\frac {1}{2};-n,2;\frac {3}{2};1-\sin (e+f x),\frac {1}{2} (1-\sin (e+f x))\right )}{2 a f \sqrt {a \sin (e+f x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 130
Rule 429
Rule 2785
Rule 2787
Rubi steps
\begin {align*} \int \frac {\sin ^n(e+f x)}{(a+a \sin (e+f x))^{3/2}} \, dx &=\frac {\sqrt {1+\sin (e+f x)} \int \frac {\sin ^n(e+f x)}{(1+\sin (e+f x))^{3/2}} \, dx}{a \sqrt {a+a \sin (e+f x)}}\\ &=-\frac {\cos (e+f x) \operatorname {Subst}\left (\int \frac {(1-x)^n}{(2-x)^2 \sqrt {x}} \, dx,x,1-\sin (e+f x)\right )}{a f \sqrt {1-\sin (e+f x)} \sqrt {a+a \sin (e+f x)}}\\ &=-\frac {(2 \cos (e+f x)) \operatorname {Subst}\left (\int \frac {\left (1-x^2\right )^n}{\left (2-x^2\right )^2} \, dx,x,\sqrt {1-\sin (e+f x)}\right )}{a f \sqrt {1-\sin (e+f x)} \sqrt {a+a \sin (e+f x)}}\\ &=-\frac {F_1\left (\frac {1}{2};-n,2;\frac {3}{2};1-\sin (e+f x),\frac {1}{2} (1-\sin (e+f x))\right ) \cos (e+f x)}{2 a f \sqrt {a+a \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 2.27, size = 274, normalized size = 4.22 \[ \frac {\sec (e+f x) \sin ^n(e+f x) \left (a^2 \sqrt {2-2 \sin (e+f x)} (\sin (e+f x)+1)^2 (-\sin (e+f x))^{-n} F_1\left (1;\frac {1}{2},-n;2;\frac {1}{2} (\sin (e+f x)+1),\sin (e+f x)+1\right )-\frac {4 a (\sin (e+f x)-1) \left (1-\frac {1}{\sin (e+f x)+1}\right )^{-n} \left (2 a (2 n+1) F_1\left (\frac {1}{2}-n;-\frac {1}{2},-n;\frac {3}{2}-n;\frac {2}{\sin (e+f x)+1},\frac {1}{\sin (e+f x)+1}\right )+a (2 n-1) (\sin (e+f x)+1) F_1\left (-n-\frac {1}{2};-\frac {1}{2},-n;\frac {1}{2}-n;\frac {2}{\sin (e+f x)+1},\frac {1}{\sin (e+f x)+1}\right )\right )}{\left (4 n^2-1\right ) \sqrt {1-\frac {2}{\sin (e+f x)+1}}}\right )}{8 a^3 f \sqrt {a (\sin (e+f x)+1)}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.48, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\sqrt {a \sin \left (f x + e\right ) + a} \sin \left (f x + e\right )^{n}}{a^{2} \cos \left (f x + e\right )^{2} - 2 \, a^{2} \sin \left (f x + e\right ) - 2 \, a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sin \left (f x + e\right )^{n}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.20, size = 0, normalized size = 0.00 \[ \int \frac {\sin ^{n}\left (f x +e \right )}{\left (a +a \sin \left (f x +e \right )\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sin \left (f x + e\right )^{n}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\sin \left (e+f\,x\right )}^n}{{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sin ^{n}{\left (e + f x \right )}}{\left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________